#ifndef ADD_FORM_H
#define ADD_FORM_H

#include <QWidget>
#include <QVariant>
#include <QMessageBox>
#include <QDebug>
#include <QSet>
#include "common.h"

namespace Ui {
class Add_Form;
}

class Add_Form : public QWidget
{
    Q_OBJECT

public:
    explicit Add_Form(QWidget *parent = 0);
    ~Add_Form();
    void showWidget(QVariant data);
    void parseData();

private slots:
    void on_pushButton_clicked();
    void on_lineEdit_4_textChanged(const QString &arg1);
    void on_comboBox_2_currentIndexChanged(int index);

signals:
    void addData(QVariant data);
private:
    Ui::Add_Form *ui;
    QStringList _stuctNames;

    void init();

};

#endif // ADD_FORM_H
